using System;
using System.Net;
using System.Net.Sockets;
internal abstract class Class3
{
	private Socket socket_0;
	private string string_0;
	private Class6 class6_0;
	private byte[] byte_0;
	private int dlkshdWy2;
	protected Delegate0 delegate0_0;
	public Class3(Socket socket_1, string string_1)
	{
		this.method_4(socket_1);
		this.method_6(string_1);
	}
	protected byte[] method_0(int int_0)
	{
		return new byte[]
		{
			(byte)(int_0 / 256),
			(byte)(int_0 % 256)
		};
	}
	protected byte[] method_1(long long_0)
	{
		return new byte[]
		{
			(byte)(long_0 % 256L),
			(byte)(long_0 / 256L % 256L),
			(byte)(long_0 / 65536L % 256L),
			(byte)(long_0 / 16777216L)
		};
	}
	protected byte[] method_2(int int_0)
	{
		if (int_0 <= 0)
		{
			throw new ArgumentException();
		}
		byte[] array = new byte[int_0];
		for (int num = 0; num != int_0; num += this.method_3().Receive(array, num, int_0 - num, SocketFlags.None))
		{
		}
		return array;
	}
	protected Socket method_3()
	{
		return this.socket_0;
	}
	protected void method_4(Socket socket_1)
	{
		if (socket_1 == null)
		{
			throw new ArgumentNullException();
		}
		this.socket_0 = socket_1;
	}
	protected string method_5()
	{
		return this.string_0;
	}
	protected void method_6(string string_1)
	{
		if (string_1 == null)
		{
			throw new ArgumentNullException();
		}
		this.string_0 = string_1;
	}
	protected Class6 method_7()
	{
		return this.class6_0;
	}
	protected void method_8(Class6 class6_1)
	{
		this.class6_0 = class6_1;
	}
	protected byte[] method_9()
	{
		return this.byte_0;
	}
	protected void method_10(byte[] byte_1)
	{
		this.byte_0 = byte_1;
	}
	protected int method_11()
	{
		return this.dlkshdWy2;
	}
	protected void method_12(int int_0)
	{
		this.dlkshdWy2 = int_0;
	}
	public abstract void vmethod_0(string string_1, int int_0);
	public abstract void vmethod_1(IPEndPoint ipendPoint_0);
	public abstract Class6 vmethod_2(IPEndPoint ipendPoint_0, Delegate0 delegate0_1, IPEndPoint ipendPoint_1);
	public abstract Class6 vmethod_3(string string_1, int int_0, Delegate0 delegate0_1, IPEndPoint ipendPoint_0);
}
